home *** CD-ROM | disk | FTP | other *** search
- ;This function is similar to IBM CADAM's "define points".
- ;After selecting a line it places a point at each of`
- ;of the endpoints.
- ;
- ;Function name - "EDSENDPT.LSP" Execution command - "EP"
- ;
- ;Written by Steve Brown
- ;
- ;
- (defun C:EP ( )
- (entsel)
- (setq c (entget(entnext)))
- (setq a (cdr(assoc '10 c)))
- (setq b (cdr(assoc '11 c)))
- (command "point" a)
- (command "point" b)
- )
-
-